# -*- coding:utf-8 -*-

from django.conf.urls.defaults import *
from articles.models import *

urlpatterns = patterns('articles.views',
    (r'^blog/$', 'articles_list'),
    
    (r'^blog/add_article/$', 'article_add'),
    (r'^blog/(?P<item_id>\w+)/$', 'article'),
    (r'^blog/(?P<item_id>\w+)/edit/$', 'article_edit'),
    (r'^blog/(?P<item_id>\w+)/delete/$', 'article_delete'),

)
